package com.gitee.sop.layui.adminserver.module.background.admin.util;

import com.gitee.sop.layui.adminserver.module.base.util.Md5Util;

/**
 * @author: huwei
 * @date: 2020/4/24 15:05
 * @version: 1.0.0
 */
public class SysDataModifyLockUtil {

    public static <T> String generateKey(Class<? extends T> cls, String unique) {
        return Md5Util.getInstance().encrypt(cls.getName().concat(unique));
    }
}
